home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 151-175 / scopedisk174 / complex / complex.doc < prev    next >
Text File  |  1995-03-19  |  2KB  |  31 lines

  1. This program is used for solving a system of simultaneous equations with
  2. complex (or regular) coefficients. This is a common practice in electrical
  3. engineering, especially when working with ac circuits. I wrote this program
  4. in basic originally for a PC6 Tandy pocket computer, and have adapted it
  5. for use here on the Amiga. There are other programs which can solve complex
  6. coefficient systems of equations, like Matlab, but they are big and hard
  7. to use. Besides, this program is in Basic, which is easily customized to
  8. suit the user. Basic, like most other languages (with the exception of
  9. Fortran) does not have a complex data type. This program splits the
  10. N by N complex matrix into 2 N by N regular coefficient matrices. This
  11. does take a while to compute on a big system, but most of the time, a
  12. reasonable system (say N=4) only takes a couple of seconds to compute. The
  13. answers are given in two formats, the first is the standard a + j B, and
  14. the other is in polar form, a magnitude and angle. The angle shown that
  15. is not in parenthesis are the direct result of the Inverse Sine (also
  16. not directly available in Basic, but easily computed). The angle shown
  17. in parenthesis is the angle referenced to the +x axis, and measured
  18. counter-clockwise around the quadrants. I also have a version of this
  19. program that runs on the PC6 pocket computer. If anyone would like the
  20. source code (it will be a text file) let me know. Any feedback on this
  21. program (good or bad) would be appreciated.
  22.  
  23. Dan Warns  11/11/90
  24. 2704 32nd Street
  25. Lubbock, Texas 79410
  26. 806-792-8266
  27. Compu$erve Id: 72060,101
  28. Genie Id: D.WARNS
  29.  
  30.  
  31.